import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import svgPlugin from "./plugins/svgPlugin";
import "@/styles/index.scss";
import router from "@/router";
import { createPinia } from "pinia";
import 'element-plus/theme-chalk/dark/css-vars.css'

const app = createApp(App);
const pinia = createPinia();
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
document.title = "upvr数字人";

app.use(ElementPlus, { locale: zhCn }).use(svgPlugin).use(router).use(pinia).mount("#app");
